
package cn.bnet.sag.service.location;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for GetTicketRequestType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="GetTicketRequestType">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="CallerInfo" type="{http://location.service.sag.bnet.cn/}CallerInfoType"/>
 *         &lt;element name="Terminals" type="{http://location.service.sag.bnet.cn/}TerminalsType"/>
 *         &lt;element name="WebAction" type="{http://location.service.sag.bnet.cn/}WebActionType"/>
 *         &lt;element name="Parameter" type="{http://location.service.sag.bnet.cn/}ParameterType" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GetTicketRequestType", propOrder = {
    "callerInfo",
    "terminals",
    "webAction",
    "parameter"
})
public class GetTicketRequestType {

    @XmlElement(name = "CallerInfo", required = true)
    protected CallerInfoType callerInfo;
    @XmlElement(name = "Terminals", required = true)
    protected TerminalsType terminals;
    @XmlElement(name = "WebAction", required = true)
    protected WebActionType webAction;
    @XmlElement(name = "Parameter")
    protected List<ParameterType> parameter;

    /**
     * Gets the value of the callerInfo property.
     * 
     * @return
     *     possible object is
     *     {@link CallerInfoType }
     *     
     */
    public CallerInfoType getCallerInfo() {
        return callerInfo;
    }

    /**
     * Sets the value of the callerInfo property.
     * 
     * @param value
     *     allowed object is
     *     {@link CallerInfoType }
     *     
     */
    public void setCallerInfo(CallerInfoType value) {
        this.callerInfo = value;
    }

    /**
     * Gets the value of the terminals property.
     * 
     * @return
     *     possible object is
     *     {@link TerminalsType }
     *     
     */
    public TerminalsType getTerminals() {
        return terminals;
    }

    /**
     * Sets the value of the terminals property.
     * 
     * @param value
     *     allowed object is
     *     {@link TerminalsType }
     *     
     */
    public void setTerminals(TerminalsType value) {
        this.terminals = value;
    }

    /**
     * Gets the value of the webAction property.
     * 
     * @return
     *     possible object is
     *     {@link WebActionType }
     *     
     */
    public WebActionType getWebAction() {
        return webAction;
    }

    /**
     * Sets the value of the webAction property.
     * 
     * @param value
     *     allowed object is
     *     {@link WebActionType }
     *     
     */
    public void setWebAction(WebActionType value) {
        this.webAction = value;
    }

    /**
     * Gets the value of the parameter property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the parameter property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getParameter().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ParameterType }
     * 
     * 
     */
    public List<ParameterType> getParameter() {
        if (parameter == null) {
            parameter = new ArrayList<ParameterType>();
        }
        return this.parameter;
    }

}
